﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo09
{
    class BFcar : Car, IFly, IFire
    {
        public BFcar(string band, string type) : base(band, type) { 
        
        }
        public void Fire()
        {
            Console.WriteLine("能开炮。");
        }
        public void Fly()
        {
            Console.WriteLine("能飞。");
        }
    }
}
